﻿
@using yeubongda
@using yeubongda.Models

@{        List<MENU> list = YBDModels.DocmenuCha();}
<DIV id="navigation" class="onerow">
<DIV id="NMenu">
    @for (int i = 0; i < list.Count; ++i)
    {
            <UL id="nav">
            <li class="hasmenu"> <SPAN> 
            <a href="@Url.Content("~/Home/BaiBaoTheoMenuCha/" + list[i].MAMN)" >
            @list[i].TENMN </a></SPAN>
            <DIV style="display: none;" class="quicknav">
            @{        List<MENU> list1 = YBDModels.DocmenuCon(list[i].MAMN);}
                <DIV class="subnav">
                @for (int j = 0; j < list1.Count; ++j)
                {
                    <UL>
                        <LI><A href="@Url.Content("~/Home/BaiBaoTheoMenuCon/" + list1[j].MAMN)" target="_parent"> @list1[j].TENMN</A></LI>
                    </UL>
                }
            </DIV>
            @{List<BAIBAO> listBaiBao = YBDModels.DocBaiBaoMoiNhatTheoMenu(list[i].MAMN);    }
            <DIV class="top story">
                <P class="photo"><A href="@Url.Content("~/Home/BaiBaoDetail/" + listBaiBao.First().MABAI)">
                <IMG style="border-width: 0px;" alt="@listBaiBao.First().TENBAI" src="@Url.Content("~/Content/images/" + listBaiBao.First().hinhanh)" width="226" height="120"></A></P>
                <P class="title"><A href="@Url.Content("~/Home/BaiBaoDetail/" + listBaiBao.First().MABAI)">@listBaiBao.First().TENBAI</A></P>
                <P class="summary">@listBaiBao.First().TIEUDE </P>
            </DIV><!--/.topstory-->
            
            <DIV class="more-stories">
            <H3>                                    Tin nổi bật</H3>
            <UL class="story-listing">
                @for (int j = 1; j < 6; ++j)
                {
                    <LI><A href="@Url.Content("~/Home/BaiBaoDetail/" + listBaiBao[j].MABAI)"> @listBaiBao[j].TENBAI</A></LI>
                }
            </UL></DIV><!--/.more-stories-->
            <DIV class="quiclinks">
            <UL>
                <LI><A href="http://tapchibongda.com.vn/thu-vien-hinh-anh.aspx">Dữ liệu ảnh</A></LI>
                <LI><A href="http://tapchibongda.com.vn/video-bong-da.aspx">Video Clip</A></LI>
                <LI><A href="http://tapchibongda.com.vn/nhan-dinh-bong-da.aspx">Góc nhận định</A></LI>
                <LI><A href="http://tapchibongda.com.vn/lien-he-website.aspx">Liên hệ</A></LI>
                <LI><A href="http://tapchibongda.com.vn/GetRSS.aspx">RSS</A></LI>
            </UL></DIV><!--/.quicklinks-->
            <DIV class="ads">
            <DIV class="sh5px"></DIV>
            <DIV>
                <img src="@Url.Content("~/Content/Images/Quick_Menu_146x188.jpg")" width:146 height:220 />
            </DIV></DIV>
            </DIV></li></UL>
         }  
</DIV></DIV>

